package com.bm.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bm.server.entity.Ping;
import com.bm.server.entity.Rootinfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/23/10:54
 */
public interface RoominfoDao extends BaseMapper<Rootinfo> {
    @Select("select * from t_rootinfo where rid=#{roomid} and uid=#{uid} ")
    List<Rootinfo> selectAll(@Param("roomid") Integer roomid,@Param("uid") Integer uid);
}
